//
//  ViewController.h
//  myhuibao
//
//  Created by lijun on 13-2-4.
//  Copyright (c) 2013年 myhuibao. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "LeveyPopListView.h"
#import "PMCalendar.h"
@protocol UIViewPassValueDelegate
- (void)passBoxNames:(NSString *)boxNames withIds:(NSString *) Ids;
@end
@interface BookViewController : UIViewController<LeveyPopListViewDelegate,PMCalendarControllerDelegate,UIViewPassValueDelegate,UITextFieldDelegate>{
    int selectIndex;
    int cityId;
    int areaId;
    int diningTime;
    int capacityId;
    int boxType;
    NSString *diningDate;
    NSString *boxIds;
    NSString *merchantName;

    NSMutableArray *arrayCity;
    NSMutableArray *arrayArea;
    NSMutableArray *arrayDiningTime;
    NSMutableArray *arrayBoxType;
    NSMutableArray *arrayCapacity;

}
- (IBAction)doBack:(id)sender;

- (IBAction)showDiningTime:(id)sender;
- (IBAction)showCanlendar:(id)sender;
- (IBAction)doBook:(id)sender;
@property (retain, nonatomic) IBOutlet UITextField *tbBoxType;
- (IBAction)showBoxType:(id)sender;
@property (retain, nonatomic) IBOutlet UIView *mainView;
@property (retain, nonatomic) IBOutlet UITextField *tbTime;
@property (retain, nonatomic) IBOutlet UITextField *tbDate;
@property (retain, nonatomic) IBOutlet UITextField *tbDiningNumber;
@property (retain, nonatomic) IBOutlet UITextField *tbMemo;
@property (retain, nonatomic) IBOutlet UIButton *btBook;
@property (retain, nonatomic) IBOutlet UILabel *lbTitle;
@property (assign) int merchantId;
@property (retain, nonatomic) NSString *boxIds;
@property (retain, nonatomic) NSString *merchantName;

@end
